package com.ip.student.models.dto;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 体测信息DTO
 *
 * @author 张景奇
 * @Date 2025-11-04 14:08:57
 */
@Data
@TableName("student_physical")
@ApiModel(value="体测信息对象", description="体测信息对象")
public class StudentPhysicalDTO implements Serializable {

    @TableId(value = "physical_id", type = IdType.INPUT)
    @ApiModelProperty(value = "体检记录唯一标识，自增")
    private Integer physicalId;
    @ApiModelProperty(value = "学生ID（逻辑关联student_info.student_id）")
    private Integer studentId;
    @ApiModelProperty(value = "学年")
    private String schoolYear;
    @ApiModelProperty(value = "学期")
    private String semester;
    @ApiModelProperty(value = "身高（cm）")
    private BigDecimal height;
    @ApiModelProperty(value = "体重（kg）")
    private BigDecimal weight;
    @ApiModelProperty(value = "肺活量（ml）")
    private Integer vitalCapacity;
    @ApiModelProperty(value = "左眼视力")
    private BigDecimal visionLeft;
    @ApiModelProperty(value = "右眼视力")
    private BigDecimal visionRight;
    @ApiModelProperty(value = "健康状况")
    private String healthStatus;
    @ApiModelProperty(value = "发育评价")
    private String growthEvaluation;
    @ApiModelProperty(value = "录入人ID（逻辑关联sys_user.user_id）")
    private Integer createUserId;

    @ApiModelProperty(value = "录入时间")
    private Date createTime;
}